
from django import forms
from myhomework.models import *

class CreateHomeworkForm(forms.ModelForm):
    class Meta:
        model = Homework
        fields = ('content', 'deadline', 'name', 'type')
        
class SubmitHomeworkForm(forms.Form):
    homework_id = forms.IntegerField()
    file  = forms.FileField()